<%@ include file="inc/header.jspf" %>

<table data-role="table" class="ui-responsive table-stroke">
	<thead>
		<tr>
			<th><spring:message code="no"/></th>
			<th><spring:message code="title"/></th>
			<th><spring:message code="url"/></th>
			<th><spring:message code="date"/></th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="bookmark" items="${bookmarkVoList}">
			<tr style="cursor: pointer;" onclick="location.href = 'detail/${bookmark.bookmarkNo}';">
				<td><spring:eval expression="bookmark.bookmarkNo"/></td>
				<td><spring:eval expression="bookmark.title"/></td>
				<td><spring:eval expression="bookmark.url"/></td>
				<td><spring:eval expression="bookmark.created"/></td>
			</tr>
		</c:forEach>
	</tbody>
</table>

<fieldset>
	<button type="button" data-theme="b" data-inline="true" data-icon="plus" onclick="location.href = 'create';">Add</button>
</fieldset>

<%@ include file="inc/footer.jspf" %>